package com.wanfeng.oa;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.wanfeng"})
public class OaApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(OaApplication.class);
        System.out.println("==================================");
        System.out.println("==================================");
        System.out.println("============佛祖保佑,永无bug======================");
        System.out.println("==================================");
        System.out.println("==================================");
        System.out.println("==================================");

        System.out.println(run.getBeanFactory());

    }
}
